package org.lxg.springmvc.dao;


import org.apache.ibatis.annotations.Mapper;
import org.lxg.common.pojo.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Component
public interface UserMapper {

    public int insertUser(User user);

    public User findUserById(int userId);

    public List<User> findAllUsers();

}
